package org.skatiger.jrove.component.html;

import org.skatiger.jrove.component.JroveAttr;
import org.skatiger.jrove.component.UIComponent;

public class HtmlColumn extends HtmlComponentBase {

    private String headerClass;
    private String footerClass;

    public void setHeaderClass(String headerClass) {
        this.headerClass = headerClass;
    }

    public void setFooterClass(String footerClass) {
        this.footerClass = footerClass;
    }

    public UIComponent getHeader() {
        return getFacet(JroveAttr.HEADER_FACET_NAME);
    }

    public UIComponent getFooter() {
        return getFacet(JroveAttr.FOOTER_FACET_NAME);
    }

    public String getHeaderClass() {
        return getPropertyValue("headerClass", headerClass);
    }

    public String getFooterClass() {
        return getPropertyValue("footerClass", footerClass);
    }

}
